package studyandroid.android.study.gophern.studyandroid.ui.titlebar;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import studyandroid.android.study.gophern.studyandroid.R;

public class MyTitleBarActivity extends AppCompatActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		//实例化CustomTitleBar 传递相应的参数
		CustomTitleBar ct = new CustomTitleBar();
		ct.getTitleBar(this, "美食");
		setContentView(R.layout.activity_my_title_bar);
	}
}
